Adding generalized model.
Adding generalized model.