Add support for transitions on paths