+ "bitcoin::script::Script"|"bitcoin::Script" => Some(".as_ref())"),
+ "bitcoin::script::ScriptBuf"|"bitcoin::ScriptBuf" if is_ref => Some(".as_bytes().to_vec().into()"),
+ "bitcoin::script::ScriptBuf"|"bitcoin::ScriptBuf" if !is_ref => Some(".to_bytes().into()"),
+ "bitcoin::transaction::Transaction"|"bitcoin::Transaction" => Some(")"),
+ "bitcoin::Witness" => Some(")"),
+ "bitcoin::OutPoint"|"bitcoin::transaction::OutPoint" => Some(")"),
+ "bitcoin::TxIn"|"bitcoin::transaction::TxIn" if !is_ref => Some(")"),
+ "bitcoin::TxOut"|"bitcoin::transaction::TxOut" => Some(")"),
+ "bitcoin::network::constants::Network"|"bitcoin::network::Network" => Some(")"),
+ "bitcoin::WitnessVersion"|"bitcoin::address::WitnessVersion" => Some(".into()"),
+ "bitcoin::WitnessProgram"|"bitcoin::address::WitnessProgram" => Some(")"),
+ "bitcoin::block::Header" if is_ref => Some(""),
+ "bitcoin::block::Block" if is_ref => Some(")"),