Ensure parser is defined