Tab class definition moved to separate service