Fix for qualified types with auto