Fix pattern match(es) are non-exhaustive.