Now flattens object into separate parameters