Add scan_keys(), which is like scan() but only returns keys.