Fix horribly broken example (closes #45).