Layout's alternative apply() method was reimplemented to look shorter.
Some nice members were added to the layout class.
Layout's alternative apply() method was made to be even shorter.