AbstractEntity->toArray() method now uses getters.