Remove unused exceptions