SDK 2.0 and real function arguments

I updated this for all SDK 2.0 functions and added the function argument names so that the the user becomes less dependent on documentation.