Change portId to accept a generic data-type