Start adding basic logic for tabs.