python: Don't duplicate the kind names