Add "is TypeObject" and "of TypeObject" traits