Adding an environment controller.