Added some tab functionality.