Changed Messenger::getInstance() to return reference