message.py: small doc changes and unused code removal