Fixed documentation generator crash