Add missing files, update for new compiler API