Fix for missing layout warnings

Fixes missing layout warnings when indexing items at build time.