Should this ever be None? If not, let's use `expect` instead of matching.