Prevention of fires and explosions