Remove unnecessary throws-declarations