Populate tabs programatically.