Do categorisation (formerly, type()) as separate parse step.