I kind of feel like the default values should be defined on their own somehow, instead of being defined in an argument in a function call. Even just setting it in its own variable and then using that in the function call would like neater to me, but I guess it is @JonnyJD's call. (But then, I might be inclined to make the configuration its own object with the three functions as methods and the default values here as a property.)