Switched from deprecated Boost signals to Boost signals2.