Make getParser() optional.

Returning null is bad.