support number and enum base types