I am not sure about the position of 'of course' inside a sentence.
Please consider these two versions and comment on that:
- A comprehensive documentation would of course be highly valuable...
- A comprehensive documentation of course would be highly valuable...