[grid.provider] if you make a type definition conditional you need to guard EVERY USAGE of that type with the same conditional!