Added add_args() function that was removed from upstream.