Support enum based properties type.
Merge pull request #21 from asaf/enum

Support enum based properties type.