Deprecated model injection by object manager factory in order to avoid
circular dependency with model manager factory