The `-respondsToSelector:` check for the per-key method could be lifted out and done once before this block, to avoid expensively checking it many times.