model() model class mixin added. pkey() updated.