Remove unused erroneous `import enum`.
Merge branch 'event-subtypes' into test