Add simple userdata support