Added substitute-if.