Catch more errors when non-CPLs are loaded as CPLs.