Use custom service factory for IoC support.