Fixing unusual MissingMethodException.