Implemented mapPorts() method on PortList.
Fix for previous commit.
Added Path and Field.
Fixed issues due to broken commit.