Continuation for smart logic.