Adding the ability to write enums as strings.