Modified documentation to be more accurate in the example code.