Add model class method.