Add signal attribute to objects and interfaces. Similar to props.