Actually, since we're calling `keys_func` exactly once just below this, it might make sense to just call the right thing instead of sticking it in a local variable first.