Ensure plugin/module context is explicitly set.