Eliminated several compiler warnings.