Clear code and inherit from ui.tabs.