Setting the environment should be done using the new API.
Setting the environment should be done using the new API.