Warn about second parameter must be object