clean up the api files a bit