cleanup Bitcoin::Script helper methods