.toHTML, .toString methods added using constructors and functions