Basically, Defined Types can have multiple instances, which leaves that giant "which instance?" question hovering over everything. Hiera was not architected to resolve that automatically, so it has to be addressed in
.pp
code by either explicitly setting defaults where the answer to that question doesn't matter, or using a wrapper class to create a grouping of instances where the answer to that question doesn't matter.