allow null arguments for calls to API methods