This was ported over from CodeIgniter which has a few crazy Hellers for this sort of thing. I wrote an article explaining the benefits:
http://philsturgeon.co.uk/blog/2009/12/Why-CodeIgniter-HTML-...
Remember though, that class won't be loaded unless you want it.