api: save some typing when adding new api files