Remove unnecessary throws clauses