Added buildHTML.