Add support for external ports.