Debugger::getType() now returns 'closure' if a closure is passed.