Revert 1217, don't require reflection when using Array.

Kept the "of" methods at least.
HashSet in TextureAtlas changed to ObjectSet.