Removing unnecessary functions left over from Drupal 6 version