removed most references to likely_environment::module