Added elseif sniff.