Take BEAST_VARIADIC_MAX into account