Added signal handler.