Added necessary stubs to native_methods to prevent undefined errors