Refactorization addJDOC