Transformed StackedWidget into Stacks module.