reformat docs for generated methods