Remove unnecessary throws-clause