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