Updating provider to use new-style except clause.