Fix matching functions with default arguments.

We need to suppress the default argument in the signature when we're
doing matching as you can't overload based on default arguments so we
shouldn't expect users to specify them.
Merge branch 'mask'
Move to v3.0.0