Added queries to transitionTo, URL generation and linkTo support.