Add operator std::weak_ptr to Autowired