Updated the Layout to inherit from Container.