Implemented support for environment variables.