def __getitem__(self, index):
r = self.delegate[index]
if isinstance(r, type(self.delegate)):
# If the response is a cursor, transform it into a
# SanicMongo cursor.
r = type(self)(r, self.collection)
return r