Implement decomposition to tabs.