Added batch message support.
Cleaned up documentation