Fix memory leak.
Added send text methods that take a string as argument.