Can we make the behavior depend on the *type* of input, and not the exact name?