Patch for ticket #20506 - documentation type