Fixed the Environment class to be abstract.