Add support for restoring lore