Adding missing jsdocs.
Automatically acknowledging messages if autoAck is set.