Made HTMLBodyRendererTemplateCallback a subclass of Object.

This provides "reference counting for free".