Rename as gestureToCommand().