adding enum support to objc dialect