Refactoring of Drupal Recurly module ( http://drupal.org/project/recurly ).