missing files and warning fixes.