Hack for transitions.