Reimplement modelBase and model collection handling.