Removed getModelFromDB() from table models. (refs #323)