Able to persist complex objects too