Nit: I'd probably call this `parserClass`, since there's no ambiguity with keywords here (and JS already uses stuff like `className`).