Adding Resource reference for model creation