Removing or renaming invalid native methods.