Added multisig support