Removing target parameter, merging target into options object