Removes environ argument from method not called by plugin.