Process shaders through the event service.
Fix tests.