Don't assume that the $modelClass is the $modelName (Example a plugin model)
Merge pull request #2 from dakota/master

Don't assume that the $modelClass is the $modelName (Example a plugin model)