Clean up tabs operation.