Add support for categories (subdirectories)