Fix Contract documentation

Fix #105 using the example provided by @mgraham.