config.py: support hub_classes