Router cleanup.