Added publisher and subscriber contexts.

Again, this isn't tested/working (class calls).