Support enum based properties type.