Refactor: merger.Merger re-implementation