Add missing struct size checks