Document the named subject feature.

Closes #1566
I think I'd prefer another example with an appropriate docstring.