Fix scaffold creation via CreateAutomaticDocumentation