Be more intelligent about handling tolua++ user types.