Fixing up doc strings for messaging.py