All standard methods require an object as the first param. If a non-object is passed in, throw a custom error. This improves the DX for non-typescript users. We need to update the code gen to include this logic only for methods that actually do require an object.