Automatically generate categories

Please review.
s/header/breadcrumbs