Add model to appendHtml signature