Replace ptr_vector with std_vector<shared_ptr> because of rtti error...