Add class in xhtml too