Add the ability to assign variables as an array within the layout() method.
Merge duplicate data assignment methods.