getCategory returns paths as well.