Removed unnecessary exception declarations.