Simplify title and body hint message creation.

Removes the need to pass a function to the editor function.