Support for text input methods.