Remove unnecessary native module code