Add checks for failing to parse types.