Handle missing types after Semantic Analysis

Fix problem of skipped files.