Usage example for built-in returners

Taken from an idea expressed in #6009.
Merge pull request #10977 from cachedout/return_doc

Usage example for built-in returners