Refactor Melinis task for subclassing