Added restore functionality from main platform.