AFAIK the current callback can be something else than a function either if currentDeps is an Array or not.