Make getParser() optional.

Returning null is bad.
Merge pull request #219 from csmith/master

Make getParser() optional.