Template class SignalsHandler.