Add mediate and doxygen doc if needed