Initial work for supporting all scopes.

The View interaction for paintings now works as a result, but there is a
lot of work to do to support all these scopes. Also, added AndEquals,
since it was missing somehow.