Make helpers return text instead of appending to the output buffer