fix private Module methods visibility the right way