Changing visibility to public on messages and session objects in Messages lib.