Began converting MessageBus to TypeScript