Fix function with default arguments.