Hide Drupal-specific code or move it to the Drupal toolstack.