Add @throws to docblocks