Added enumerations for events and comments for type casting