Allow HTMLContent to be set with value of other type than String