Added helper #weight_model.