Implement environment configuration.