PPAPI/NaCl utilities