Fix Factory.hpp
(I hope)