I used `scope` instead of `namespace` because of rails/rails#10456