doc_type should be optional. And then we'll have to reorder the args.