Use the replacement only if we have neither the function