Implement compose method for ControlIfBlock.