Expose compact function

- Expose compact function on CDTDatastore
A few bits of paragraphing would help here.