Made sure extensions receive config object during factory function