Be careful here at not printing the declaration of the original iterators if the osl_coordinates are used to put the generated code in some existing code: in this case there would be a redeclaration.