The defaults should be in a property, not embedded in the function. This applies in more cases I can do that though.