XXX something about tiles protocols and how different docs can have modes and roles
XXX some stuff with examples about how this works