Moved from ArrayList<Any> to Any on primitives to be able to define more primitives.