Remove element_texts resource, moving them to owning resources. Fix #544