Register for notifications by Sema.
Implement continuation for #if* #endif.