Why not, but it needs the user to create its own factory, here it's a bit simpler, and it allows us to provide a default memory cache. We would have to create our own factory anyway...