Added a method for get environment names.