Support tuple arguments to check_gradient