Fix generic declaration