Add type to text log model