Switched to enums instead of TabInfo classes