Cleanup of transaction signing to primarily be per-input rather than per-transaction.