Maybe we could move this code into a separate file in order to not have it beeing loaded if it is unused as well?