I think the kwarg should be instance_type here, not type