Simplify arrow function parsing.
Move to const enums.