added userdata support for natives