Refactor calling the new parser into a single method.