Adds metadata to layouts