Added signals to support signals/slots approach.