made methods in Transition public and changed visibility of TransitionType to public