Add more libraries and make the signer more self-contained.