Properly add ports to device