General removal of compiler warnings