I think this would be better inside the Environment constructor.