Start converting to new error handling API.