make applyAccessRestrictions calls static and remove strType because Model stores the table information `Model::getTable()`