Added missing function to the environment interface