Add initial support for list_ports support.