Optimize efficiencies of some of methods in Module