Refactor resume.