Replace main element with class of main.