Move internal API things into api.internal for clarity.