native: removing externs from native tramp