Fixed bug with lightuserdata functions.