Generalizing the signature to systems with multiple types of components