Created an EventSubscriber to contain the hook_boot() code.