Restore dependencies