Fixed bug which prevented multiple API arguments from being passed as kwargs