Fixed SimpleEnum support.