ResourceAggregate should be serializable.