ioc resolves classes with optional params and accepts arguments