Removed unused environment loading code.