[reductors] make use of 'extends' parameter in reduce_residual