added getMessageManager()