Reordered functions so that they’re more similar across APIBase subclasses.