Register an electron-phonon task.

def register_eph_task(self, *args, **kwargs):
        """Register an electron-phonon task."""
        kwargs["task_class"] = EphTask
        return self.register_task(*args, **kwargs)