Deprecate **kwargs for add_root etc, use a dictionary instead

I'm pretty sure I had a good reason for this, but I'm not sure exactly what it was.