What if you had f(x, y) but only cared about is a function of x?

Even so, it probably could be omitted when it can be unambiguously guessed, like with dsolve.