Updated a number of classes to inherit from enum.IntEnum.

Minor PEP8 and PEP257 updates.