Split this function for de-coupling.
Make internal where possible, remove unused function.
Remove accidenal binary file.
Include correct headers.
Use string_buffer here.
Put more things in their right places.
Inline method.
This doesn't need to be public.
Inline method.
Header ordering.