add relation_types_text method