Added accessor to layout item.