Renamed signals to conditions so 'signal' can be used for something else.