Add text input support.