Added handling of strings or elements with render method, to append method.