Changed definition of signals so that we can modify more easily when we incorporate the two processing pipeline together.