Add example where native access the object fields and functions.