My only suggestion would be to find a more concise name for this function. My first thought is `beforeAddWheres`. I know it doesn't start with a verb, but I think it's easier to remember and make sense.