There's no need to create your own subclass if all you want to do is set the intent. You can use `CMS.Models.WarningMessage`, or you can just use `CMS.Models.SystemFeedback` and set the intent when you create the model.