Added support for TabControl.