Improved javadoc for messages