Added supress warnings to generic types