Remove duplicate generic raise statement