account for variadic methods in macro