Add missing throws.