Working getParser method provides scoped parser function.