Refactors.