Update old examples to use new shim