Set proper continuation for applyWrapper