Make message class package private
Add JavaDoc