Added JavaDoc to the messaging framework