Fix missing factory file