Added handler redirection and basic reverse routing.