Adopted NS_ENUM macro usage.