Simplify the type signature of the Parser