Made a couple methods static/public so machado can access them.

Helps make https://github.com/johnshopkins/machado/issues/141 possible.