Added example of using SetHtml and Ref.