Implementation, refactoring.