Clean up of no longer used code after switch to ports vector.