Removed unnecessary native code