Added initial code to parse enums.