Change names of inner types based on convention.