Now emits chain messages. All tests pass locally.