It would make sense to move this to a more general namespace so other components can make use of it.