Adds environ parameter to manager methods to pass the environment from the plugin.