Pass parameters as object