API tweak for the AMQP client