Fixing the example code.