The idea was to return what you called it with: String => String, DocumentFragment => DocumentFragment.

Thoughts, @rafaelfranca?