Removing unused method in Environment.