Collect all elements in Document regardless of category type

Hi Jordy,

I think you could use this suggestion: