Service factory can be any callable type