Changed EnvironmentBuilder to be InstanceBuilder.