If partial function above doesn't match return `None` rather than crashing.