Fix interface writer for bridge_ports and slaves.