Updated native example.