Towards an algebraic composition of signatures