Refactor disk summary creation.