Add Gen type class example