Expose compact() in the Datastore interface