We need this for creating indexes and some other tasks at the moment. If all the underlying client methods can be abstracted we can eventually do away with it but for now it is useful.