Shrink internal API footprint, part 1.