Add throws statements