Bugfix monkey-patching example code.