Add some mappings for types and port names.