Fixes schema errors when trying to save the object whose model isn't extended