def get(key, default=-1):
        """Backport support for original codes."""
        if isinstance(key, int):
            return SeedID(key)
        if key not in SeedID._member_map_:
            extend_enum(SeedID, key, default)
        return SeedID[key]
Backport support for original codes.