Updated sample code.

  To reflect that we can use the per-page variables.