Added the Model class API.