Move parser specific setup methods to parser spec.