Adapted tab classes to follow a more scoped approach.