Changed plg and msgManager accessibility to protected