Expose things in the public API

Closes #17