Use strict in factory.