Set object factory to allow DatasourceModelTest to pass.