Fix function calls to old functions.