Add support for type-safe accumulation of remaining arguments.