Added support for handlers visitors for C++11