Tweaking CF template to get it functional.