Change classes naming according to the new DOM.