Add support for td classes based on existing objects