Added support for identifying port kinds.