Added support for pinned tabs.