add docs and slot the tab data class