Added support for flexible transition class names