Moved uuid generation to the plugin class