Make text reference counted