Fix throws declaration.