more api/doc cleanup