Restoring references