Reverted the change to the get/setEnvironmentName methods.