Layout->addView(...) method signature changed

Have added an extra arg in the method signature. The first arg now
incalled $name and will be used as the index in the resultant $layout
array in a layout file.