Merge signals bug fixes from the trunk.
Merge signals deprecation.

Still to merge: r78502