Updated various files to remove compiler warnings.