allow extend to be called with a model class
Merge branch 'master' of github.com:emmerge/graviton