Refactoring DIY cartridge.