hack around Drupal 6 entities