Be more robust in case some types are missing on the class path