Add method with variable arguments sample.