add relations_for_class helper
make label relations importable