Add foreign keys of all subclasses of XrefField