>  haven't seen that anywhere else in our codebase


Take a look at men-viz ;-)
The same pattern (and the same author).
If you object against it I'm happy to adjust it.