Properly scope relation with newer syntax.