Refactoring of dN/deta task to common base class