naming changes and fixing transitionTo deprecation.