Removed indexing from enums.
Indexing the enum at zero was redundant, as enums are indexed at zero by default. The redundant indexing was removed for this reason.