Modifies the function to use a default parameter.