* added ability to supply custom keynames for models
* lookup validity checks