Remove unused layout classes.