Changed the Language named tuple into a class.