Changed ->render() to __tostring()