Handle multiple arguments to methods in YAML