Common Library for Reegenerator Template