Enable to set integer enum values

Enable to set integer enum values.