Added object arrays to repository persisting code.