Using generics to create middleware and wrappers that do not force heap allocations, keeping the Garbage Collector (GC) overhead low.