Enum

Implements #8