Undoing the removal of prefixes