Add category socket repository class.