Allow for callback arity 0, 1, 2