Remove unused factory param