Fix generics in FutureStmt and JAssignStmt