Added Model.fromText