Fix visibility for internal types.