Fix AUTOs to properly handle struct ports.