Remove useless shared_ptr. Thanks Morwenn