Basic optional parameters support in binder. Fixes #13817