Your proposed solution may work temporarily.
However, the issue is likely to recur every time EDocman is updated.
If possible, I would like you to fundamentally review and address the issue.
For reference, I have attached screenshots of other extension.
Thanks