One (2009) approach to https://drupal.org/node/529110