Changed objectFactory, warning still there