Refactor Code.