Removed some useless occasions of #include <memory>