`masked` is masked scalar, right? Why is that the right thing here?