Merge "Add new methods to MainSwitchBar."