Issue #2338571 by znerol: Remove SessionManager::startLazy().
Issue #2325571 followup by omers: Replace _theme() calls by calls to \Drupal::theme()->render().