Changed Context.prototype.write() to call toString()