Only call callback with two args if return is undefined
Merge pull request #11 from tschaub/preserve-arity

Only call callback with two args if return is undefined.