Added iterator type and print to syntax definitions