'Get kind of polymorphic model.
Overridden so that all subclasses of root classes are the same kind
as the root.
Returns:
Kind of entity to write to datastore.'

@classmethod
def kind(cls):

    if (cls is cls.__root_class__):
        return super(PolyModel, cls).kind()
    else:
        return cls.__root_class__.kind()
