Added if support.