ClassMethodReplacementGuard#override is now deprecated. Use #replace instead.