restricted data.type property to being read-only for Instance class