migrate SModelReference creation