Fix linking in layout.