Added code to distinguish Ports from Components.