Made signals work in the C++11 wrapper