apidoc cleanup