add trait element class
Merge branch 'master' of github.com:adam187/SourceEditor

* 'master' of github.com:adam187/SourceEditor:
  ensure that classDeps are unique
  add trait as object so render could work