Exposing parser in API as requested in issue #21