This MR provides methods to plugins that enables them to interact with both runtime and persistent plugin state.