Removed unreferenced code in the example.