Refactor, DRY.