added ability for types to declare classes to be appended to the display element. Needed this for textareas to have their text be wrapped properly.