Add throws to type specifing annotations