Enhanced TransitionTask to support more d3js transition calls.