Eliminate enum from parser delegate and use dictionary instead.