Code Refactory.