add some type aliases to text, many types are more readable now