Renamed "type" to "mediaType" on Link and relationship by reference.