Add the locality and dependent locality types.