make plv8x functions are also valid in a plugin.