Why do you want to expose the main layout?