improve headings in api docs