Remove StrT type. Add some utilitity functions.