Added support for himBHreturning functions in 0replace.