Allow classes in rel definitions