Implement "and ... then" and "or ... then" blocks.