See http://drupal.org/project/migrate_generate