Use IList/IMapType instead of List/MapType for instanceof