Added enums support.