Remove require to factories