Detect calls in continuations
Factored out memoization