Implement support for signals

fixes #7744