completeCompilationUnit: Add generic lazy function