Adding layout assignment.