Introduce MessageType instead of uint8
Introduce new types PortConfig, PortState, and PortFeature instead of uint32