Expose more internals for outside developers.
Merge pull request #2 from tbranyen/expose-more

Expose more internals for outside developers.