Moar docblocks.
Pass route names for root and 404 routes.
Use `[]` array syntax.
Update resource routes.
Rename `pathFor` to `generateUrl`