200 Lines of this code repetition in a Magento Module (with costs)