module -> class

If a method depends on some private methods, it should be classed with
related methods instead of module functions. Because these methods are
strongly related not just only categorized.