Titlecase transform improvements.

Closes #76.