Maybe adjust this check to match same in `ProfilerController`? (`null !== $session`)