Properly register default ports.