Slight change to type_standard, using a new replace_single routine.