Backup class almost rewrited.