[FIX] Bug where to_html wasn't accessible