Change order of method calls to allow '/' as route.