Hotfix for relations.