Allowing callback to be called for creation of Cache driver