Fixing an issue with the html.data.classes population.