I think this can consist of catching a `FormatException` and returning `null`.