Generic extension for civicrm