Added purge API support for drupal 6.x module as well.