delay declaration of parser to where it's used.