Getting rid of generics warnings.