Added read-only API stuff for affiliations.