add 'collection' to text types in TextRepository