Add environ argument to methods called by plugin.