apidoc apiflow cleanup