Adding support for transition.