[INTERNAL] changed unsigned to Size where appropriate.