Refactoring the disk steps.