Fixed #21794 -- Removed deprecation warning for abstract models outside an app.