Remove unused code.
Fix continuation handling for coroutines.