Tiding up stale code