generator: Implement attribute to hide method parameters

A hidden parameter is dropped from the signature and the default value is filled in.