Just return factory if no dependencies