Allowing to_html and other functions to be overwritten.