Avoid messages assertion.
Added docs for handlers module.