Fix doc examples for cue fn.

Fixes #97