Refactoring of WorkerResult