Make createContinuation a little more concise