Flush object cache between upgrade routines.