Throw an exception if a reference doesn't define a model
Merge pull request #47 from jrschumacher/enh-add-check-for-model

Throw an exception if a reference doesn't define a model