Factor out <model>::array_class duplication.
Fix accessibility of ModelArray::entry_class=