Handled generic inlines and fixed the ids used for tabs.