The data passed into initialise is only used by one of the resolver functions. You could argue that the resolver function should be injected along with the alias dictionary, however for the sake of simplicity here we'll just inject the data and associate the name of the resolve function with the data injection function