Merge "Remove unused global in ForeignAPIRepo"