Tweak the userdata for explicitness and error handling
Tweak the userdata for explicitness and error handling

wellcometrust/platform-api,wellcometrust/platform-api,wellcometrust/platform-api,wellcometrust/platform-api