Example of method access and native function access