Remove superfluous dividers.