Add the source factory into the services.