Add transitions.