Default implementation of ServiceFactory.