Making type(object) return Sentence when object is a Sentence object