Added support for array ports.