Remove unused factory