Add insertBefore and insertAfter.
Generate an issues index, collecting duplicates of all the issues in one place.