Bugfix.
Ugly fix to assign BackupRepository functions to BackupManager.
Fixed some serious errors.