Minor edit
Only register output port if not sink