Move fns that hit api into their own namespace.