Categories are now parsed into a tree.