Check if messages are cached
Added documentation for set client handler