8.0.x compatibility

Compatibility with the Drupal 8.0.x HEAD
Do we need the last `echo` statement here?