Removal of layout references.