Adds corrections to broken functionality caused by Drupal 8 API changes.