Fixed #4682 (using 'struct' disables checking)