This is needed to that `DirectiveWrapper`s can also use them later on. Part of #11683
This makes the cost of using directives that have host attributes smaller. Part of #11683