Class from portable-updater project.