restore data() member of native since a couple of things still use it