Added the ability to transmit payloads of any length.