Shared_ptrs work on majority of examples.