Uncaught wrapped callback was not wrapping undefined correctly.