Renamed model from textualrepresentation to textdef