Fixed layouts to not fail when being used without the layout class variable in the definition.
Fixed layouts to not fail when being used without the layout class variable in the definition.

JoelLarson/XtraUpload,JoelLarson/XtraUpload