Removed some not needed ioc setup code