Use unions for object ref data