Wrote documentation for CFG and common.