Abstracted continuations