I would prefer the argument validation go in a coffeescript function that just wraps this and always ensures it is called with the proper things.