Add model and DenseWeights