Taking advantage of generics.