This comment seems out-dated.  `extract_keys` is not referenced anywhere...