Adding an instance map to de-loop the get_plugin method in the environment class.