Added ids to interaction classes.