Explicitly specifying the types of input and output for chunking, instead of passing it method type parameters