Adding docs to processPaginatedAnnotation
Renaming str -> string