Archives: remove duplicate code resulting from manual merge