Env: add more definitions for the error monad
Add more definitions in the environment as it should be needed for the internal error tasks, so that we do not recompile the environment all the time.
Add more definitions in the environment as it should be needed for the internal error tasks, so that we do not recompile the environment all the time.