add support for data-class, data-width, and data-height