Removed an unnecessary copy of the continuation function.