This doesn't appear to be defined anywhere and I think `max_keys` can just be a parameter to this command with a default (say `10`?).