I used foo_KEY everywhere (as opposed to just foo) for just the value of the key, so I could use shorter constant names for the variations with ${} (as this is what end users will end up concatenate in their code)

So technically, this is XD_CONTAINER_KEY_PREFIX_KEY...