Updated docs to include a preparer, so the whole sample works.

Thanks to Bahadir Balban for the report!