Changed switch type to switch reflection and add doc for new SendString func