Switch to storing and retrieving docs from keymap.