Add function variation to cpg module.