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