Remove deps on factory feature