Added missing functions to the environment interface