remove unneeded enum from the parser.