Ported to current state of Drupal 8 (alpha 15).