added InstanceApi.setScheduling