Using shared_ptr for hero.