cleanup of api doc