Add better docs to the transaction package.