Add enum parsing.