Correct documentation for title helper

Fixes #2878