Added addoutput to txbuilder.