Routes and Trees are no longer modules
route function can accept a Function as last arg