Add replaceVars when a symbolic function becomes concrete. Doesn't seem to do anything; don't know why.