Patched examples to use local definitions of themselves.