Remove obsoleted lines.