Adds proper markup for extra classes.