Added traits class to domain.
Merge pull request #2 from IDgis/model-traits

Added traits class to domain.