added package() and getPackageName() member functions to class Message