Change all delegate to weak reference.