Utilities for Q control flow.