Remove unnecessary throws clause.