Cleaned up code in the webLayout forms.