Implemented the ElectionType enumeration.