Created individual factories for each set of dependencies.