Allow to call public API methods with multiple parameters

With this change we call call public methods with multiple arguments, instead just one.