Protect against source files that have no types.