Refactors trans_blob.c adds pipe method.