Added docs, fixed problems with AMQP.