add type information to signals