Add a comment explaining the use of boost::shared_ptr