Variant 3 of https://rpubs.com/krlmlr/607538, with optional variant 2. Reference: https://github.com/tidyverse/dplyr/issues/5161#issuecomment-621879379. Also need to check empty dots in methods, no idea why I added them.