Support Textual 5 and drop support for older versions.
Use new API.