Added sendText function.