Refractor methods to digest code easily.