Added Port.Type and plumbed it throughout.
17 files changed