add extension registration; may want to revisit this when getting rid of eval
folding in extension registration